import Vue from 'vue'
import VueRouter from 'vue-router'
import Chat from '../views/Chat.vue'
import KnowledgeBases from '../views/KnowledgeBases.vue'
import KnowledgeBaseCreate from '../views/KnowledgeBaseCreate.vue'



Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Chat',
    component: Chat
  },
  {
    path: '/knowledge_bases',
    name: 'KnowledgeBases',
    component: KnowledgeBases
  },
  {
    path: '/knowledge-base',
    name: 'KnowledgeBaseCreate',
    component: KnowledgeBaseCreate
  },

]

const router = new VueRouter({
  routes
})

export default router